
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../common.jsp" %>

<html>
<head>
<title>导入产品明细</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="<%=root%>/css/caigouxitong.css" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<%
	GSManufactureView mv = (GSManufactureView)request.getAttribute("mdetail");
    String isPlanPrice = (String)request.getAttribute("isPlanprice");
%>
</head>
<body BGCOLOR="#f2f2f2"	text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<TD class="bg_column" align=center width="20%">序号</TD>
					<TD align=left class="bg_row_odd" width="30%"><%=mv.getGs_manufacture_id()%></TD>
					<TD class="bg_column" align=center width="20%">集中编码</TD>
					<TD align=left class="bg_row_odd" width="30%"><%=mv.getGs_concentricity_id()%></TD>
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center width="20%">产品名称</TD>
					<TD align=left class="bg_row_odd" width="30%"><%=mv.getGs_manufacture_name()%></TD>					
					<TD class="bg_column" align=center width="20%">供应商</TD>
					<TD align=left class="bg_row_odd" width="30%"><%=mv.getGs_provider_shortname()%></TD>					
				</TR>
				<tr>
					<TD class="bg_column" align=center>产品分类</TD>
					<TD align="left" class="bg_row_odd" >
						<%=mv.getGs_manufacture_category_name()%>
					</TD>					
					<TD class="bg_column" align=center>品牌</TD>
					<TD align="left" class="bg_row_odd">
						<%=mv.getGs_manufacture_brand()%>					
					</TD>					
				</TR>
				<tr>
					<TD class="bg_column" align=center>型号</TD>
					<TD align="left" class="bg_row_odd" >
						<%=mv.getGs_manufacture_type()%>
					</TD>					
					<TD class="bg_column" align=center>规格</TD>
					<TD align="left" class="bg_row_odd">
						<%=mv.getGs_manufacture_spec()%>					
					</TD>					
				</TR>
								
				<TR height=20>
					<TD class="bg_column" align=center>单价</TD>
					<TD align="left" class="bg_row_odd">
                    <%if(mv.getGs_manufacture_unitprice()==0.0){ %>
                    
                    <%}else{ %>
					<%=StringUtils.format(mv.getGs_manufacture_unitprice(),4)%>元
                    <%} %>
					</TD>					
					<TD class="bg_column" align=center>数量单位</TD>
					<TD align="left" class="bg_row_odd">
					<%=mv.getGs_quant_unit() %>
					</TD>	
				</TR>		
				<TR height=20>
					<TD class="bg_column" align=center>质保期</TD>
					<TD align="left" class="bg_row_odd">
						<%=mv.getGs_quality_assure_period() %>天，<%=mv.getKm_quality_assure_period() %>公里
					</TD>				
					<TD class="bg_column" align=center>生产厂商</TD>
					<TD align="left" class="bg_row_odd">
					<%=mv.getGs_manufacturer_name() %>	
					</TD>	
				</TR>		
				<TR height=20>
					<TD class="bg_column" align=center>产地</TD>
					<TD align="left" class="bg_row_odd">
					<%=mv.getGs_make_area()%>
					</TD>					
					<TD class="bg_column" align=center>产品图片</TD>
					<TD align="left" class="bg_row_odd">
						查看				
					</TD>					
				</TR>				
				<TR height=20>
					<TD class="bg_column" align=center>附加属性</TD>
					<TD align="left" class="bg_row_odd" colspan="3">
						<%=mv.getGs_appender_property()%>
					</TD>					
				</TR>				
				<TR height=20>	
					<TD class="bg_column" align=center>备注</TD>
					<TD align="left" class="bg_row_odd" colspan="3">
						<%=mv.getGs_remark()%>					
					</TD>					
				</TR>
				<TR height=20>	
					<TD class="bg_column" align=center>是否采购</TD>
					<TD align="left" class="bg_row_odd">
                
                        <%if(mv.getIs_buy().equals("N/A")){ %>
                           N/A
                         <% }else if(mv.getGs_balance_mode().equals("")){%>
  
                        <%}else{ %>
						<%=GSBaseManager.getAllisbuy2(mv.getIs_buy())%>
                        <%} %>
					</TD>
                    <TD class="bg_column" align=center>结算模式</TD>
                         <% 
                            if(isPlanPrice.equals("1")){
                        %>
                        <TD align="left" class="bg_row_odd">买断</TD>
                    <%}else{ %>
                        
                    <TD align="left" class="bg_row_odd">
                             <% if(mv.getGs_balance_mode().equals("N/A")){%>
                                 N/A
                             <% }else if(mv.getGs_balance_mode().equals("")){%>
                             
                            <%  }else{%>
                              <%=DefineDic.getBalanceMode(mv.getGs_balance_mode())%>
                              <%} %>
                    </TD>	
                    <%} %>				
				</TR>	
			</table>

		</td>
	</tr>
</table>
    <p align="center">  
	<input type="button" class="kuang" value='关闭' onclick="javascript:window.close();">			
    </p>
</body>
</html>